package com.hanamaki.basic.array;

import java.util.ArrayList;
import java.util.List;

/**
 * 实体类  泛型类
 */
public class Student<T> {

    private T name;
    private T stuId;

//    alt + insert


    public Student() {
    }

    public Student(T name, T stuId) {
        this.name = name;
        this.stuId = stuId;
    }

    public T getName() {
        return name;
    }

    public void setName(T name) {
        this.name = name;
    }

    public T getStuId() {
        return stuId;
    }

    public void setStuId(T stuId) {
        this.stuId = stuId;
    }

    public static void main(String[] args) {

        Student<Object> student = new Student<>();





    }
}
